Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

refactor(demos): use angular modules #1912

Closed
wants to merge 1 commit into from

Conversation

Foxandxss
Copy link
Contributor

The old demos works good, but creating controllers that way is not the recommended way, not even for demos. So I modified all of them to use proper angular modules. I think that the result is now better (before we had two different types of conventions for controllers and now we have just one and better one).

I also modified the plunker generator to use the same module as the demo page (so the demos won't break up on plunker).

This closes #1884

@bekos
Copy link
Contributor

bekos commented Apr 17, 2014

@Foxandxss LGTM although I would use a more consistent module name, like ui.bootstrap.demo or ui.bootstrap.app.

@Foxandxss
Copy link
Contributor Author

Sure, I put what was already there (the plunks we generate use that module name, so I took it). I'll fix that 👍

@Foxandxss
Copy link
Contributor Author

@bekos Done ;)

@Foxandxss Foxandxss added this to the 0.11.0 milestone Apr 18, 2014
@pkozlowski-opensource
Copy link
Member

@Foxandxss was about to merge this one but realised that it doesn't merge cleanly anymore... Would you mind rebasing it? Thnx!

@Foxandxss
Copy link
Contributor Author

That should be it @pkozlowski-opensource

@Foxandxss Foxandxss closed this in 5b41e47 May 4, 2014
@pkozlowski-opensource
Copy link
Member

Merged, thnx!

@Foxandxss Foxandxss deleted the demos branch September 8, 2015 10:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Demos could be improved
3 participants