Web / Angular Interview questions
Explain the structure of Angular application projects.
For instance, take the structure of the Shopper Stop angular application.
e2e folder holds end to end test cases that help ensure the angular components are working correctly. This subfolder stores configuration and source files for a set of end-to-end tests that correspond to angular application.
node_modules subfolder provides/stores the npm packages required for the application.
src subfolder contains the source files related to app logic, data, and assets, along with configuration files for the initial application.
.editorconfig configuration file stores editor configuration.
.gitignore file specifies untracked files that Git should ignore.
angular.json stores CLI configuration defaults for all projects in the workspace, including configuration options for build, serve, and test tools that the CLI uses.
package-lock.json provides version information for all packages installed into node_modules by the npm client.
package.json configures npm package dependencies that are available to all projects in the workspace.
README.md contains introductory documentation.
tsconfig.json has default TypeScript configuration for apps in the workspace, including TypeScript and Angular template compiler options.
tslint.json stores default TSLint configuration for apps in the workspace.
Structure of src sub-folder.
app/ contains the component files in which your app logic and data are defined.
assets/ contains image files and other asset files to be copied as-is when you build your application.
environments/ contains build configuration options for particular target environments. By default, there is an unnamed standard development environment and a production ("prod") environment. You can define additional target environment configurations.
browserlist configures sharing of target browsers and Node.js versions among various front-end tools.
favicon.ico is the icon to use for this app in the bookmark bar.
index.html is the main HTML page that is served when someone visits your angular site.
main.ts is the main entry point for your app. This typescript file compiles the application with the JIT compiler and bootstraps the application's root module (AppModule) to run in the browser.
polyfills.ts provides polyfill scripts for browser support.
styles.sass lists CSS files that supply styles for a project. The extension reflects the style preprocessor you have configured for the project.
test.ts is the main entry point for your unit tests, with some Angular-specific configuration.
tsconfig.app.json inherits from the workspace-wide tsconfig.json file.
tsconfig.spec.json inherits from the workspace-wide tsconfig.json file.
tslint.json inherits from the workspace-wide tslint.json file.
Dogecoin
! Earn free bitcoins up to $250 now by signing up.
Earn bitcoins upto $250 (free), invest in other Cryptocurrencies when you signup with blockfi.
Use the referral link: Signup now and earn!
Using BlockFi, don't just buy crypto - start earning on it. Open an interest account with up to 8.6% APY, trade currencies, or borrow money without selling your assets.
Join CoinBase
! We'll both receive $10 in free Bitcoin when they buy or sell their first $100 on Coinbase! Available in India also.
Use the referral Join coinbase!
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull
! Receive free stock by signing up using the link: Webull signup.
More Related questions...