added support for using attributes object as override object
added support for using angular's attributes object as override object with data type conversion