I am working on web application. once user log in i need to load user profile data somewhere which will be available to all controllers also to other application by adding dependency or something .
i was thinking of writing ng-init() method and then storing all values in factory but is there any other way to achieve this i would just like to confirm.
Please suggest what can i use to store user basic profile data ? is there any way to store in config or provider ?
drawerApp.config([ '$interpolateProvider',
function ($interpolateProvider) {
}]);