angular.element(this).scope() code example
Example: angular.element(...).scope(...).testeFunc is not a function
<input type="file" name="file" accept="image/*" onchange="angular.element(this).scope().selectFileForUpload(this.files)" class="form-control input-bordered" required>