fixed templates for refactored AngularJS shared module