Adapted "import subscriptions" functionality to angularjs.