Organizational Research By

Surprising Reserch Topic

ng include with plain string


ng include with plain string  using -'javascript,jquery,angularjs'

I want to bind a div to plain string like

$scope.MyString = "This is my string"


I tried using this

<div ng-include="MyString"></div>


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
    
asked Oct 13, 2015 by vimaldas2005
0 votes
2 views



Related Hot Questions



Government Jobs Opening


...