This module will provides a factory for making modals.
Modals are created via the modal directive provided by the angular-bootstrap package, so this will need to be installed before you can start making modals.
-
Add angular-bootstrap to your bower.json.
-
run
bower install
-
Add bootstrap to your app/modules/main.js file.
- The path to the ui-bootstrap.js needs to be added to the paths object.
- A shim needs to be added to the shim object for
ui-bootstrap
with a dependency on angular. - Lastly, ui-bootstrap needs to be added to the required array at the bottom.
-
Add
ui-bootstrap
to your app/modules/application/main.js file. It belongs in the array of required modules. -
Add ui-bootstrap to your app/modules/application/module.js file.
'ui.bootstrap'
belongs in yourapp
module's array of required modules.
-
Add 'cs_modal' to your app/modules/main.js file. It belongs in the
package
array at the top. -
Add
cs_modal
to your app/modules/application/main.js file. It belongs in the array of required modules. -
Add cs_modal to your app/modules/application/module.js file.
'cs_modal'
belongs in yourapp
module's array of required modules.