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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -