No, you can use it for a widget, does not have to be a SPA. Just realize that the context of the angular's javascript where you set your ng-app directive and the context of javascript everywhere else on the page are not the same thing. If they interact at all, you may want the whole page done in angular.
On Tuesday, March 4, 2014 7:22:55 AM UTC-7, Fhenon De Urioste Mariaca wrote: > > Hello, > > I need to create a very complex widget and I was thinking about using > angular. But I'm not sure if it is a good idea to use angular only for the > widget since I don't need it for the rest of the website. Is angular only > intended to be used only to create SPA? > > > -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.