add AngularJS template management