This makes sure that the BOM (if present) doesn't make it into the template string. If it does, funny characters start showing up all over the Angular app, causing layout issues.
I'd pre-process it (using something like strip-bomify) but this transform does not use the transformed content, so it needs to happen here.
I guess there's another way around this as well. But if this fixes your problem I'm gonna go ahead and merge it, then we can potentially look at what I mentioned in #23 later
This makes sure that the BOM (if present) doesn't make it into the template string. If it does, funny characters start showing up all over the Angular app, causing layout issues.
I'd pre-process it (using something like strip-bomify) but this transform does not use the transformed content, so it needs to happen here.