dependency restrction was meant for hammer not angular