Could someone provide an explanation of $mdLiveAnnouncer
using this code snippet?
module.controller('AppCtrl', function($mdLiveAnnouncer) {
// Making a basic announcement (Polite Mode)
$mdLiveAnnouncer.announce('Hey Google');
// Creating a custom announcement (Assertive Mode)
$mdLiveAnnouncer.announce('Hey Google', 'assertive');
});