Added extra check to test if placeholder.element is a function.
Merge pull request #74 from thgreasi/angular1.2

Added extra check to test if placeholder.element is a function.