angularjs - Angular routes and views and controllers -


I am trying to create a very simple app with routes and ideas, which clicked a click "button

I have an index.html file with a ng-view with a test html. This view is going to use testCtrl.js with a simple model. < P> But when it loads, the scene is called, but there is a problem with the radius, or the controller when I click on a button The test of the word is considered to be "click" but nothing happens.

here index.html

  body ng-app = "simtoolbelt" & Gt; & lt; div ng-view & gt; & lt; / div & gt; & lt; script src = "js / modules / angular-route.min.js" & gt; & lt; / script & gt; ; & Lt; script src = "js / controller / testctrl.js"> 



    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -