Using $timeout() 1000 ms.