AngularJS/Ionic how to initialize a controller's code without rendering the view? -
i building app have number of controllers. i'm watching web socket message in chatcontroller connected inbox.html view. app starts on 'requests' page controller different. problem unless user has explicitly visited inbox.html view @ least once, web socket(socket.io) event isn't detected since code 'chatcontroller' hasn't been initialised. options have enabling functionality? somehow initialise code 'chatcontroller' app starts without user having visit screen.
thank you
Comments
Post a Comment