useing $resources of Angular for Entity loading

the entities are loaded after the template is loaded
Added basic manage site and manage role functionality