How to send five (5) different types of log messages, using AngularJs

Words
270
Reading
2 min
Listen
Play
8y

There are times, when we would like to send informations to users browser console, so as to pass some message to them (especially to web developers who knows what a console is and knows how to get there). Well we can achieve this using the AngularJs to send informations to users browser console

What Will I Learn ?

  • How to use the 'ng-cintroller' attribute
  • How to create all kind of log messages that will appear on users console. such as log,error,info,warn and debug
  • How to get to view the log messages inside a browser

Requirements

  • Plnkr Program(to edit and test our work online)
  • Little knowledge on html And;
  • knowledge on AngularJs

Difficulty

  • Basic

Description

In this video tutorial, I created 5 types of log messages : log,error,info,warn and debug.
All these were achieved using the AngularJs...

The above log messages can be used in sending messages to users and to web developers who might want to view the source code of our work.

It's not compulsory to use the exact messages I used in the tutorial.... You can customize yours to your taste...

To go to the console page to view the log messages, go to settings, more tools, now select developers tools now you should see Elements, Console, Sources, Network and Performance

Just click on the console and view down till you see the log messages

My Operating System

Windows 7

Video Tutorial - English Language - 720p

Length ~ 13:07

CURRICULUM



Posted on Utopian.io - Rewarding Open Source Contributors

How to send five (5) different types of log messages, using Angular... | Ecency