mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-08 04:55:26 +00:00
Restructure Sass files and folders for proper application Sass development
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
|
||||
angular.module('radioDemo1', ['ngMaterial'])
|
||||
|
||||
.controller('AppCtrl', function($scope) {
|
||||
|
||||
$scope.data = {
|
||||
group1 : 'Banana',
|
||||
group2 : '2'
|
||||
};
|
||||
|
||||
$scope.radioData = [
|
||||
{ label: '1', value: 1 },
|
||||
{ label: '2', value: 2 },
|
||||
{ label: '3', value: '3', isDisabled: true },
|
||||
{ label: '4', value: '4' }
|
||||
];
|
||||
|
||||
$scope.submit = function() {
|
||||
alert('submit');
|
||||
};
|
||||
|
||||
$scope.addItem = function() {
|
||||
var r = Math.ceil(Math.random() * 1000);
|
||||
$scope.radioData.push({ label: r, value: r });
|
||||
};
|
||||
|
||||
$scope.removeItem = function() {
|
||||
$scope.radioData.pop();
|
||||
};
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user