added angularjs and permisions view