Merge pull request #209 from joefiorini/tooltip-for-titles

Use tooltip plugin for title attributes
This commit is contained in:
Joe Fiorini 2015-05-15 09:48:16 -04:00
commit b70fa02f2c
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,6 @@
import listGenerator from './list-generator/main';
import title from './title.directive';
export default
angular.module('shared', [listGenerator.name]);
angular.module('shared', [listGenerator.name])
.directive('title', title);

View File

@ -0,0 +1,8 @@
/* jshint unused: vars */
export default function() {
return function(scope, element, attrs) {
element.tooltip();
};
}