/angular-vm-ready

An Angular 1.x factory for a test utility which determines whether a controller view-model is ready

Primary LanguageJavaScriptMIT LicenseMIT

#angular-vm-ready

An Angular 1.x factory for a test utility which determines whether a controller view-model is ready

Installation

Requires browserify or similar npm-based build system.

In the command line:

npm install angular-vm-ready --save

In your angular composition:

angular.module('myModule', [])
  .factory('vmReady', require('angular-vm-ready'));

Usage

function controller($scope) {

  // TODO

}