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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -