Update src/ng/directive/input.js

Allow to use a RegExp that comes trough a JSON-Object.

Example:
var json = {
  regexp: "/.*/"
}

<input type="text" ng-pattern="json.regexp">