Add $timeout dependency to directive