Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 25th, 2018
84
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
scope.timeDiff = 0;
var intervalId = $interval(function(){
scope.timeDiff += 1000;
},1000);
scope.$on('$destroy',function(){
$interval.clear(intervalId);
});
Add Comment
Please,
Sign In
to add comment
Public Pastes
Brackets
Lua | 59 sec ago | 20.24 KB
Untitled
C++ | 2 min ago | 0.72 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 32 min ago | 0.38 KB
Untitled
C++ | 34 min ago | 2.06 KB
Untitled
C# | 38 min ago | 6.01 KB
sgjourney Stargate Type test
Lua | 42 min ago | 0.69 KB
Mad
PHP | 57 min ago | 0.01 KB
link input and label
HTML 5 | 60 min ago | 0.21 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!