In this line of code:
<p>{{ data.length > 0 && 'My data' || 'No data' }}</p>
what does the && and || mean?
At first I thought that these were boolean functions. The equivalent in Java or C# would be an inline IF statement:
<p>{{ data.length > 0 ? 'My data' : 'No data' }}</p>
But that statement doesn't work in AngularJS.