0

Can someone please explain this to me:

.
.
.
$http(req)
.then(function()
{
.
.
.

What does "dot then" mean? In general I find it hard to understand the syntax of AngularJS, and it does not appear to be explained anywhere. Can anyone direct me to somewhere it is actually described for newbees?

1 Answer 1

1

$http returns angularjs promise https://docs.angularjs.org/api/ng/service/$q

Main difference from native Promise is that you dont need to call scope digest manually.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.