AngularJS take on ActivePrompt