Closed gvelo closed 7 years ago
in readme.md the onChange method should be
angular.module('myApp', ['matchMedia']) .controller('mainController', ['screenSize', function (screenSize) { $scope.isMobile = screenSize.onChange($scope,'xs, sm', function(isMatch){ $scope.isMobile = isMatch; }); }]);
Sorry, I should have merged this one first. The PR I looked at just before this one fixed the same issue. Going to close this as resolved but thanks for the good work!
in readme.md the onChange method should be