i have faced this problem , and you can resolve it like this : + check if have declared ng-controller twice , you need to declare it jute one time + chek if you have decaled data-ng-click , if so , you need to replace it with ng-click
that's it Le samedi 13 avril 2013 10:43:29 UTC-7, Pawel Kozlowski a écrit : > > Hi! > > On Sat, Apr 13, 2013 at 7:38 PM, Hardik Dangar <[email protected] > <javascript:>> wrote: > > Also can you tell me did you notice anything that needs to be done > > diffrently as i am new comer i am not sure whats the best way to do > things > > in Angular. and lot of tutorials are diffrent. so just asking. > > It looks OK, 2 small things though: > > 1) You are mixing versions of the angular.js and angular-resource.js > (1.0.5 and 1.0.6). > 2) In this case I wouldn't probably use $resource but rather stick > with $http (http://docs.angularjs.org/api/ng.$http). $resource is OK > for cases where we are really talking to a RESTful backend using all > HTTP verbs. Otherwise it is an overkill IMO. > > Have fun with AngularJS! > > Cheers, > Pawel > > > -- > Looking for bootstrap-based widget library for AngularJS? > http://angular-ui.github.com/bootstrap/ > -- You received this message because you are subscribed to the Google Groups "AngularJS" 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/angular. For more options, visit https://groups.google.com/d/optout.
