Fixed error by calling 'warning' on ''. Should be 'warn'. Also changed angular.element.find(...) to document.getElementById(...) as AngularJS's jqLite does not support 'find'
Merge pull request #5 from rickhuizinga/master

Fixed 'warning' error and angular.element.find not supported by jqLite error.