Adding directive for devices table in admin view