add support for slim templates

Now we can use special 'ast'which means 'angular slim template' to handle slim templates.