Hi Nelson, I am happily using AngularJS with app engine. If you serve the html and Javascript as static files, there should not be anything you need to do specifically for app engine. The problem is most likely in your app.js or maincontroller.js files. I tried to run your code in the dev server, but those files are missing in your post.
Pertti On Mon, Sep 16, 2013 at 5:32 AM, Nelson Paz y Miño <[email protected]> wrote: > Hello I'm trying to using the book "AngulaJS" of Green/Seshadri samples to > learn AngularJS, but apparently some directives like the ones {{variable}} > seems not to be working. Do I need something to set before using AngularJS > with Google App Engine. For example the following code for the form is not > working, the first part about the lists works correctly, please help: > > <!DOCTYPE html> > <head> > <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> > <meta content="utf-8" http-equiv="encoding"> > <title>Learning AngularJS</title> > <script > src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js" > type="text/javascript"></script> > <script src="app.js" type="text/javascript"></script> > <script src="maincontroller.js" type="text/javascript"></script> > <script type="text/javascript">function StartUpController($scope) { > $scope.computeNeeded = function() { > $scope.needed = $scope.startingEstimate * 10; > }; > $scope.requestFunding = function() { > window.alert("Sorry, please get more customers first."); > }; > $scope.reset = function() { > $scope.startingEstimate = 10; > }; > }</script> > </head> > <body> > <div id='content' ng-app='MyTutorialApp' ng-controller='MainController'> > <select ng-model='selectedPerson' ng-options='obj.name for obj in > people'></select> > <select ng-model='selectedGenre'> > <option ng-repeat='label in > people[selectedPerson.id].music'>{{label}}</option> > </select> > </div> > > <form ng-submit='requestFunding()' ng-controller='StartUpController'> > Starting: <input ng-change='computeNeeded()' ng-model='startingEstimate'> > Recommendation: {{needed}} > <button>Fund my startup!</button> > <button ng-click='reset()'>Reset</button> > </form> > > </body> > </html> > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
