Added support for radio button directive. Fixes #97

This commit is contained in:
Max Lynch
2013-11-12 00:39:57 -06:00
parent 1627c242c4
commit d1e6f2e3ec
5 changed files with 185 additions and 9 deletions

View File

@@ -1,7 +1,10 @@
(function(ionic) {
'use strict';
angular.module('ionic.ui.toggle', [])
// The content directive is a core scrollable content area
// that is part of many View hierarchies
// The Toggle directive is a toggle switch that can be tapped to change
// its value
.directive('toggle', function() {
return {
restrict: 'E',
@@ -39,3 +42,5 @@ angular.module('ionic.ui.toggle', [])
}
};
});
})(window.ionic);