loading in AngularJS module and injecting in our controller and scope