Saturday, December 21, 2013

Getting Angular baked into blogger


Hello {{name}}

Well it looks like I can inject angular into blogger. You've just got to go edit your html template. Go to the 'Templates' page and there should be a big 'Edit HTML' button. Click that and inject the angular script wherever you prefer, header or footer. Then just stick the ng-app='' at the end of your <html> tag.

Now you can inject some controllers throughout your site. I suppose if you wanted to wrap your entire site up in an angular app, you'd have to start doing some more complicated things. 

No comments:

Post a Comment