diff --git a/bower.json b/bower.json index 00a54f7..e5d94bc 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,8 @@ { - "name": "ng-flags", - "version": "0.0.2", - "main": "src/directives/ng-flags.js", + "name": "ng-flags-up", + "version": "0.0.3", + "main": "dist/ng-flags-up.js", + "ignore": ["README.md", "bower.json"], "dependencies": { "angular": "~1.0.4" }, diff --git a/src/directives/ng-flags.js b/dist/ng-flags-up.js similarity index 74% rename from src/directives/ng-flags.js rename to dist/ng-flags-up.js index 762e4ca..7ee2018 100644 --- a/src/directives/ng-flags.js +++ b/dist/ng-flags-up.js @@ -1,9 +1,3 @@ -/** - * ng-flags module - * Turns country ISO code to flag thumbnail. - * - * Author: asafdav - https://github.com/asafdav - */ angular.module('ngFlag', []). directive('flag', function() { return { @@ -19,7 +13,7 @@ angular.module('ngFlag', []). scope.size = 16; scope.$watch('country', function(value) { - scope.country = angular.lowercase(value); + scope.country = angular.$$lowercase(value); }); scope.$watch('size', function(value) { @@ -27,4 +21,4 @@ angular.module('ngFlag', []). }); } }; - }); +});