{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/material/issues/3280","labels_url":"https://api.github.com/repos/angular/material/issues/3280/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/3280/comments","events_url":"https://api.github.com/repos/angular/material/issues/3280/events","html_url":"https://github.com/angular/material/issues/3280","id":88646762,"number":3280,"title":"Browserify Error","user":{"login":"infacq","id":1596891,"avatar_url":"https://avatars.githubusercontent.com/u/1596891?v=3","gravatar_id":"","url":"https://api.github.com/users/infacq","html_url":"https://github.com/infacq","followers_url":"https://api.github.com/users/infacq/followers","following_url":"https://api.github.com/users/infacq/following{/other_user}","gists_url":"https://api.github.com/users/infacq/gists{/gist_id}","starred_url":"https://api.github.com/users/infacq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infacq/subscriptions","organizations_url":"https://api.github.com/users/infacq/orgs","repos_url":"https://api.github.com/users/infacq/repos","events_url":"https://api.github.com/users/infacq/events{/privacy}","received_events_url":"https://api.github.com/users/infacq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T07:40:20Z","updated_at":"2015-06-17T15:49:04Z","closed_at":"2015-06-17T15:49:04Z","body":"here is my code before run `gulp` to browserify it all\r\n\r\n````js\r\nvar angular = require('angular');\r\nangular.module('jobApp', [require('angular-material')]).controller('MainCtrl', ['$scope', function ($scope) {\r\n\t'use strict';\r\n\t// Initialize the scope variables\r\n\t$scope.$watch('appname', function () {\r\n\t\tconsole.log($scope.file, $scope.appname);\r\n\t});\r\n}]);\r\n````\r\n\r\nwhen run in browser, this error will come out\r\n\r\n````bash\r\nTypeError: Cannot read property '' of undefined\r\n    at lookup (bundle.js:632)\r\n    at animationRunner (bundle.js:696)\r\n    at performAnimation (bundle.js:1299)\r\n    at bundle.js:1232\r\n    at bundle.js:554\r\n    at Scope.$get.Scope.$digest (bundle.js:33571)\r\n    at Scope.$get.Scope.$apply (bundle.js:33789)\r\n    at bootstrapApply (bundle.js:19593)\r\n    at Object.invoke (bundle.js:22391)\r\n    at doBootstrap (bundle.js:19591)\r\n````\r\n\r\nat line 632 I just found this\r\n\r\n````js\r\nif ($sniffer.transitions || $sniffer.animations) {\r\n    matches.push($injector.get(selectors['']));\r\n}\r\n````\r\n\r\non another line 30183\r\n````js\r\n    function consoleLog(type) {\r\n      var console = $window.console || {},\r\n          logFn = console[type] || console.log || noop,\r\n          hasApply = false;\r\n\r\n      // Note: reading logFn.apply throws an error in IE11 in IE8 document mode.\r\n      // The reason behind this is that console.log has type \"object\" in IE8...\r\n      try {\r\n        hasApply = !!logFn.apply;\r\n      } catch (e) {}\r\n\r\n      if (hasApply) {\r\n        return function() {\r\n          var args = [];\r\n          forEach(arguments, function(arg) {\r\n            args.push(formatError(arg));\r\n          });\r\n          return logFn.apply(console, args);\r\n        };\r\n      }\r\n````\r\ndoes anyone familiar with this error?"}}