|
Column
|
Widget
|
Properties
|
|---|---|---|
|
1
|
Button
|
Enter Start in the Text field
|
|
2
|
Button
|
Enter Cancel in the Text field
|
|
3
|
Spinner
|
Deselect Visible checkbox
|

|
|
For this tutorial, we’ve used out-of-the-box styles to give the button colors. For more information, see Themes.
|

next to spinnerVisible and dropping it on to spinner-1 in the PROJECT pane.
$scope.hideSpinner = function() {
$scope.app.params.spinnerVisible = false;
};
$scope.start = function() {
$scope.app.params.spinnerVisible = true;
$scope.timeoutPromise = $timeout($scope.hideSpinner, 3000);
};
$scope.cancel = function() {
$timeout.cancel($scope.timeoutPromise);
};
