$$postDigest
error handling