add view for angularjs.