Ask a Question
Advertise on boostr.in
ng include with plain string
I want to bind a div to plain string like
$scope.MyString = "This is my string"
I tried using this
in my application but it is not adding my string there.
Can we even use plain string with ng-include? Is there any other directive to do such thing? ¬†
This is what I want as output
This is my string
when Angular is parsing
Oct 13, 2015
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please