test of adding in dynamically directives via $compile in angular