Register component before declaration (John Papa style)
Fix typos and angular 1.3 migration errors
Update generate-manifest script