Skip to content

Commit 6643e27

Browse files
committed
Update the Readme with something I struggled with
I struggled for a while to get this gem working. solution was to add ui.bootstrap in the app definition
1 parent b6c38bd commit 6643e27

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Add the following directive to your Javascript manifest file (application.js):
1515
If you would like to use the default bootstrap templates, use the following directive instead
1616

1717
//= require angular-ui-bootstrap-tpls
18+
19+
20+
You may need to add 'ui.bootstrap' into your app declaration for example
21+
22+
app = angular.module('MyApp', ["ui.bootstrap"])
1823

1924
Gem based on Angularjs-rails(https://github.com/hiravgandhi/angularjs-rails) by Hirav Gandhi
2025

0 commit comments

Comments
 (0)