Switching usage or element.width() for element.prop('offsetWidth') so that jQuery is not required.

Some users of Angular prefer not to load jQuery and want to use the default jQlite that comes with Angular.