Used single angular element object instead of creating two in compile mock
Merge pull request #1 from saymar90/single-element-call

Used single angular element object instead of creating two in compile mock