angular/angular.js — pull request #6886 by kamilkp (2014-03-28 06:43:17+00:00)
Title: feat($parse): Support for typeof, instanceof, void, in operators

This PR is a solution to Issue #6765.

The `$parse` service not supports `typeof`, `instanceof`, `void`, and `in` operators.
Furthermore in case of `instanceof` we can check whether some object is an instance created by a constructor defined on scope:
```javascript
scope.Fn = function(){};
scope.obj = new scope.Fn();
$parse('obj instanceof Fn')(scope); //yields 'true'
```
as well as check whether some object is an instance of a global 'class' like `Date` or `Array`:
```javascript
scope.arr = [1, 2, 3];
$parse('arr instanceof Array')(scope); //yields 'true'
```