The error output was: An unhandled exception occurred: Cannot find module ‘posix-character-classes’

Scenario: One of our developer was getting this error, after she took the latest code of DevOps. This application was angular 11 with ASP.net core 3.1. Exact Error: AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script ‘start’ exited without indicating that the Angular CLI was listening for requests. The error output was: An unhandled exception occurred: Cannot find module … Continue reading The error output was: An unhandled exception occurred: Cannot find module ‘posix-character-classes’

Master/Parent Child Controller | Scope Inheritance in AngularJs

In terms of AngularJs, a controller is JavaScript constructor function that is used to enhance the AngualarJs Scope. AngularJs Controller is defined using ng-controller directive, which is used to control the flow of data in the application. AngularJS application completely relies on controllers for handling data. A controller, generally, holds only the business logic needed for a single view. Today, we will delve on parent-child … Continue reading Master/Parent Child Controller | Scope Inheritance in AngularJs

Angular Basic Concept

Angular Directives In Angular, Directives are good features for re-usability. -Directives are used for reusable purpose for example Time Picker Controller, Data Picker Controller, File Upload Controller as well as any kind of custom logic and custom validation to control that as required by the program. -Directives are like user control in ASP.NET Web Pages and HTML extension in ASP.NET MVC applications. -Keep in mind … Continue reading Angular Basic Concept

Print the Content of Div or Element

There are several ways to print the div or section, however I found this is easiest way and it works fine. Code Sample Let me a bit explanation of the code. First we are selecting the contents of div as well as full body. Before print call, we are assigning the div contents to body and doing print. Finally, we are restoring the original body … Continue reading Print the Content of Div or Element