angular scenario example