add controllers and templates to angular