javascript - Can't get ng-view with routing to work -
i have looked through many questions similar topics, can't find solution works code. trying link ng-view tag html fragment via route, , can't see missing. have simplified problem , put in this plunker. thanks!
you forget bootstrap angularjs. simplest way put ng-app in html tag:
<html ng-app="gatapp">
also, partial views (like welcome-msg.html) not need have html, head, , body tags. these tags present in index.html.
here up-to-date plnkr: http://plnkr.co/edit/edhyrw?p=preview
Comments
Post a Comment