Monday, 15 February 2010

javascript - Angularjs - FF displays {{ }} tags when navigating within page, Chrome doesn't -



javascript - Angularjs - FF displays {{ }} tags when navigating within page, Chrome doesn't -

i tried different methods hide content section altogether when loading , got work initial page load, when move around within page, still shows tags.

any ideas?

you can check here (click on games on similar games section under primary section): http://vivule.ee/22

you can utilize ng-cloak solve issue

you can set on specific level want cloak or @ top level such body html tag. effect propagates downward. illustration if on body tag, tags under body tag cloaked

<body ng-cloak> <div>{{variable}}</div> //cloaked </body>

javascript angularjs firefox

No comments:

Post a Comment