Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular get file from assets

this.httpClient.get('assets/Maze1.txt', {responseType: 'text'})
        .subscribe(data => console.log(data));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #file #assets
ADD COMMENT
Topic
Name
9+7 =