Hi Stephen, Looks good to me. The core angular team seem to follow my #1 approach. Testing is easy, just put in some hardcoded json in your constant, and you're set to go. And yes, it's outside angular, because it needs to be in this case. However, that you use angularJS in your app, doesn't mean vanilla JS stops working ;) (or jQuery if you prefer!)
Regards Sander -- 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/groups/opt_out.
