As I continue to learn AngularJS, I have been following tutorials mainly in TypeScript. Now that I want to incorporate Angular Materials into my app, I've found that the component I need is written in JS.
You can find the component at https://material.angularjs.org/latest/demo/slider#vertical
angular.module('sliderDemo2', ['ngMaterial'])
.controller('AppCtrl', function($scope) {
$scope.vol = Math.floor(Math.random() * 100);
$scope.bass = Math.floor(Math.random() * 100);
$scope.master = Math.floor(Math.random() * 100);
});
I am curious to see how this code would look converted to TypeScript.