0.3.0 • Published 9 years ago

angular-ui-router-modal v0.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 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

9 years ago

0.2.0

9 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago