Ios 9 Error: [ng:areq] Argument 'TabCtrl' is not a function, got undefined

Oh my god. After struggling for some days, finally I found out the solution.
I’m using default function parameters. This is supported from From ES6/ES2015. As I used this syntax:

$scope.showActionSheet = function(indexPic = false, width = 500, height = 500, allowEdit = true) {
}

ios 9 may not supporting this.