feat(dialog): Make $dialog 'resolve' property to work the same way of $routeProvider.whenChanging the $dialog service to treat the 'resolve' property the same way as $routeProvider does. It means expecting a string or a factory function instead of a value.
Signed-off-by: thiagofelix <felixthi@gmail.com>
demo(accordion): fix off-by-one error in accordion demo item listAdd 1 to items.length before pushing, otherwise we get two items with the same item number.
fix(alert): various alert fixes- make the type optional (in this case only a default alert class is applied)
- remove the 'alert-block' from a template - it can still be added on the alert element if needed
- add replace:true
- uncomment a test
fix(tooltip): Attributes no longer evalued in isolate scopeThe tooltip directive has been re-architected to use a new scope rather
than an isolate scope, but the templated tooltipPopup directive now has
an isolate scope to introduce a similar level of scope security. As the
isolate scope is gone, the transclusion logic has been removed. In
addition, tooltip attributes are $observed manually to assign the
necessary variables on the child scope needed by...
fix(pagination): max-size should not change based on the number of pagesIf number of pages is less than the max-size then only the number of pages that are available should be displayed, but this should not then update the max-size expression, since if the number of pages then increases we have lost the max-size value that the user set.
feat(accordion): Transition and attribute improvementsAdd support for open and close CSS transitions.
Add support for optional is-open attribute on <accordion-group> directive
Remove isolate scope from <accordion> directive
fix(tooltip): Transcludes contents to allow dynamic selector textA dynamic selector did not work as the contents of the directive element
were not transcluded. This fix adds transclusion through a new directive
controller method. It also includes a new test for this case (through an
ngRepeat) as well as a modified demo to show this use case.
Closes #69