Denormalize directive name

So that the angular version of a view name can be used, the denormalize
method is now called on the name as well as the attributes.