0.3.0 • Published 7 years ago

angular-ui-router-modal v0.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

angular-ui-router-modal travisci

Add .modalState method to ui.router.$stateProvider

installation

not yet available

$ bower install angular-ui-router-modal --save
$ jspm install angular-ui-router-modal --save
$ npm install angular-ui-router-modal --save

usage

$uiRouterModalProvider

todo: write it up

$uiRouterModalProvider.config

$uiRouterModalProvider.config({
  viewName:         /** String **/,
  templateUrl:      /** String **/,
  rootState:        /** String **/,
  controller:       /** String|Function **/,
  resolve:          /** Object **/,
  stickyOpeneres:   /** Boolean **/
});
$uiRouterModalProvider.$get

Returns the configuration block along with some attached convenience methods.

$uiRouterModal.$close

todo: write it up

$uiModalView

todo: write it up

$uiModalFill

todo: write it up

$stateProvider.modalState

All of the regular properties available to $stateProvider.state are available to .modalState.

$stateProvider.modalState('someModal', {
  url:         /** String **/
  controller:  /** String|Function **/,
  templateUrl: /** String **/,
  resolve:     /** Object **/,
  sticky:      /** Boolean **/,
  views:       /** Object **/,
  /** etc etc **/
});

testing

$ npm install; npm test

license

MIT © Kasper Lewau

0.3.0

7 years ago

0.2.0

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago