Adding wait cursore while waiting for request
Using getTarget instead of getViewport
Assure directive can be used multiple times