Add auto-refresh through angular