Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit a3a977a

Browse files
committed
fix(navBar): inject $window and $mdUtil
1 parent c1e2b12 commit a3a977a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/navBar/navBar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,12 @@ angular.module('material.components.navBar', ['material.core'])
7878
/**
7979
* @param $mdAria
8080
* @param $mdTheming
81+
* @param $window
82+
* @param $mdUtil
8183
* @constructor
8284
* @ngInject
8385
*/
84-
function MdNavBar($mdAria, $mdTheming) {
86+
function MdNavBar($mdAria, $mdTheming, $window, $mdUtil) {
8587
return {
8688
restrict: 'E',
8789
transclude: true,

0 commit comments

Comments
 (0)