fixed to be compatible with angular 1.3+ this directive does not need isolated scope